// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.

import Vue from 'vue'
import App from './App'
import router from './router/index'
import store from './store/index'
import Mintui from 'mint-ui'
import 'mint-ui/lib/style.min.css'
import api from './request/api'

Vue.use(Mintui)
Vue.prototype.$api = api // 将api(网络模块)挂载到Vue的原型上
Vue.config.productionTip = false



/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: {App},
  template: '<App/>',
})
